package com.yingxin.yx.framework.commons;

import com.google.common.collect.Maps;
import lombok.Data;
import lombok.ToString;

import java.util.Map;

/**
 * @author fanchao
 */

@Data
@ToString
public class GlobalInstance {

    private GlobalInstance() {
    }

    private static GlobalInstance instance = new GlobalInstance();

    /**
     * 状态码
     */
    private Map<String, StatusCode> statusCodeMap = Maps.newHashMap();


    public static GlobalInstance getInstance() {
        return instance;
    }

}
